import unittest
import time

from script.interface_employee import employee_test
from tools.HTMLTestRunner import HTMLTestRunner
from script.interface_login import login_Test
#
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(login_Test))
#
# suite.addTest(login_Test("test01"))
suite.addTest(unittest.makeSuite(employee_test))

report = "./report/report-{}.html".format(time.strftime("%Y%m%d_%H%M%S"))

with open(report,"wb") as f:
    runner = HTMLTestRunner(f,title="t_shop报告")

    runner.run(suite)






